package cn.ffcs.unm.majorSkill.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.unm.majorSkill.dao.MajorSkillDao;
import cn.ffcs.unm.majorSkill.manager.MajorSkillManager;
import cn.ffcs.unm.majorSkill.model.BackboneTeam;
import cn.ffcs.unm.majorSkill.model.HighSkilledTalent;
import cn.ffcs.unm.majorSkill.model.ProQualification;
import cn.ffcs.unm.majorSkill.model.ProfessionalSkill;
import cn.ffcs.unm.majorSkill.model.ProfessionalTeam;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("majorSkillManager")
@Scope("prototype")
public class MajorSkillManagerImpl implements MajorSkillManager{

	@Resource
	private MajorSkillDao majorSkillDao;
	
	@Override
	public PageInfo queryInfoByProfessionalTeam(
			ProfessionalTeam professionalTeam, int currentPage, int pageSize) {
		return majorSkillDao.queryInfoByProfessionalTeam(professionalTeam, currentPage, pageSize);
	}

	@Override
	public PageInfo queryInfoByBackboneTeam(BackboneTeam backboneTeam,
			int currentPage, int pageSize) {
		return majorSkillDao.queryInfoByBackboneTeam(backboneTeam, currentPage, pageSize);
	}

	@Override
	public PageInfo queryInfoByHighSkilledTalent(HighSkilledTalent highSkilledTalent, int currentPage, int pageSize) {
		return majorSkillDao.queryInfoByHighSkilledTalent(highSkilledTalent, currentPage, pageSize);
	}

	@Override
	public PageInfo queryInfoByProQualification(ProQualification proQualification, int currentPage, int pageSize) {
		return majorSkillDao.queryInfoByProQualification(proQualification, currentPage, pageSize);
	}

	@Override
	public PageInfo queryInfoByProfessionalSkill(ProfessionalSkill professionalSkill, int currentPage, int pageSize) {
		return majorSkillDao.queryInfoByProfessionalSkill(professionalSkill, currentPage, pageSize);
	}

}
